package com.project.pojo.model;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: 上下架商品入参类
 * @Author: zhuchi
 * @CreateDate: 2020/10/15 19:54
 * @Version: 1.0
 */
@Data
public class UpdateProductStateModel {

    /**
     * 产品ID
     */
    @NotNull(message = "请选择商品")
    private Long productId;

    /**
     * 状态（0:下架,1:上架）
     */
    @NotNull(message = "请选择上架或下架")
    private Integer state;

}
